//
//  MHMySettingsViewController.m
//  ManHua
//
//  Created by 江子安 on 15/10/29.
//  Copyright © 2015年 蓝欧科技. All rights reserved.
//

#import "MHMySettingsViewController.h"
#import "MHMySettingsView.h"

@interface MHMySettingsViewController ()

@property (nonatomic, strong) MHMySettingsView *settingsView;

@end

@implementation MHMySettingsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    _settingsView = [[MHMySettingsView alloc]initWithFrame:self.view.bounds];
    
    [_settingsView.cleanImgBtn addTarget:self action:@selector(didCleanAllCache) forControlEvents:UIControlEventTouchUpInside];
    [_settingsView.lightSwitch addTarget:self action:@selector(didChangeLightOfScreen) forControlEvents:UIControlEventValueChanged];
    [_settingsView.pushSwitch addTarget:self action:@selector(didChangePushNotification) forControlEvents:UIControlEventValueChanged];
    [_settingsView.feedbackBtn addTarget:self action:@selector(didGotoFeedback) forControlEvents:UIControlEventTouchUpInside];
    [_settingsView.scoreBtn addTarget:self action:@selector(didGotoScore) forControlEvents:UIControlEventTouchUpInside];
    
    [_settingsView.reliefBtn addTarget:self action:@selector(didGotoReliefView) forControlEvents:UIControlEventTouchUpInside];
    [_settingsView.transcodingBtn addTarget:self action:@selector(didGotoTranscodingView) forControlEvents:UIControlEventTouchUpInside];
    [_settingsView.privacyBtn addTarget:self action:@selector(didGotoPrivacyView) forControlEvents:UIControlEventTouchUpInside];
    
}

- (void)didCleanAllCache
{
    
}

- (void)didChangeLightOfScreen
{
    
}

- (void)didChangePushNotification
{
    
}

- (void)didGotoFeedback
{
    
}

- (void)didGotoScore
{
    
}

- (void)didGotoReliefView
{
    
}

- (void)didGotoTranscodingView
{
    
}
- (void)didGotoPrivacyView
{
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
